package com.et.service.impl;

import com.et.bean.EtUser;
import com.et.dao.UserDAO;
import com.et.dao.impl.UserDAOImpl;
import com.et.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDAO userDAO ;
    @Override
    public EtUser get(Integer id) {
        return userDAO.get(id);
    }
}
